home *** CD-ROM | disk | FTP | other *** search
- C- DoOnError |doonerror|
- V- ErrorCode |errorcode|
- V- ErrorLineNumber |errorlinenumber|
- V- ErrorObjectName |errorobjectname|
- V- ErrorObjectType |errorobjecttype|
- V- Errors |errors|
- V- ErrorScriptName |errorscriptname|
- V- ErrorScriptType |errorscripttype|
- V- ErrorSourceLine |errorsourceline|
- V- ErrorText |errortext|
- C- IfError |iferror|
- [E]
-
- |doonerror|
- WT DoOnError {RoutineName} [{Arg1} [,up to ten arguments]]
- PL Performs the specified Routine if an error
- PL occurs in the script being performed. This
- PL will supersede the error handling done by
- PL CanDo.
- ED
-
- |errorcode|
- WT {Integer}=ErrorCode
- PL Returns the Error Number associated with
- PL an error. See the manual for a full
- PL description of this system variable.
- PL
- PT SEE ALSO:
- BS ErrorText
- PT .
- ED
-
- |errorlinenumber|
- WT {Integer}=ErrorLineNumber
- PL The line number in the script which
- PL caused an error.
- ED
-
- |errorobjectname|
- WT {String}=ErrorObjectName
- PL Returns the name of the object which had
- PL the error.
- ED
-
- |errorobjecttype|
- WT {String}=ErrorObjectType
- PL Returns the type of object in which the
- PL error occured.
- ED
-
- |errors|
- WT {Logical}=Errors
- PT Returns
- BS True
- PL when script is executing after
- PL an error occured.
- ED
-
- |errorscriptname|
- WT {String}=ErrorScriptName
- PL Returns the label for the script which had
- PL an error (ie. the name of the routine)
- ED
-
- |errorscripttype|
- WT {String}=ErrorScriptType
- PL Returns the script type where an error
- PL occurred.
- ED
-
- |errorsourceline|
- WT {String}=ErrorSourceLine
- PL Returns text of the script on which the
- PL error occurred. This only works when
- PL running from the CanDo.Library not when
- PL run from DeckBrowser.
- ED
-
- |errortext|
- WT {String}=ErrorText
- PL Returns the error message for the error
- PL that occurred.
- PL
- PT SEE ALSO:
- BS ErrorCode
- PT .
- ED
-
- |iferror|
- WT IfError
- PL Used to detect an error following
- PL a scripting command. If the previous
- PL command caused an error, the IfError
- PL commands will execute.
- ED
-
-
-